package cn.tangshh.universal.security.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 用户授权参数
 *
 * @author Tang
 * @version v1.0
 * @since 2024/10/12
 */
@Data
@Schema(title = "授权用户信息抽象类")
public abstract class BasisUserAuthParam {
    @Schema(title = "用户名")
    @NotBlank(message = "sys.security.not_username")
    private String username;

    @Schema(title = "密码")
    private String password;
}